package com.test.design.demo4.after;


public class Client {
    public static void main(String[] args) {
        TestV2SafetyDoor door = new TestV2SafetyDoor();
        //调用功能
        door.antiTheft();
        door.fireproof();
        door.waterproof();

        System.out.println("============");
        TestV1SafetyDoor door1 = new TestV1SafetyDoor();
        //调用功能
        door1.antiTheft();
        door1.fireproof();
    }
}
